#include"CRectangle.h"
#include"CPolygon.h"
CRectangle::CRectangle(int w,int h):CPolygon(w)
{
	height=h;
}
int CRectangle::area(){
return(width*height);
}